home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-11-19 | 1.0 KB | 47 lines | [TEXT/MPS ] |
- /*
- File: ExampleLibrary.exp
-
- Contains: Export declarations for ExampleLibrary
-
- Copyright: © 1992-1994 by Apple Computer, Inc., all rights reserved.
-
- */
-
-
- #include "ExampleClass.h"
- #include <LibraryManager.h>
-
- #define kExampleLibID "appl$ExampleLibrary,1.2"
-
- Library
- {
- id = kExampleLibID;
- version = 1.0…1.2;
- memory = client;
- flags=segunload;
- };
-
- //
- // ASLM cannot automatically detect static functions based on their mangled names
- // when SCpp or MRC is used. Because of this, we have to explicity tell ASLM not to
- // export static functions that we want to export from a function set instead.
- //
- Class TExampleClass
- {
- flags = newobject;
- #if defined(__SC__) || defined(__MRC__)
- dontexport = Test;
- #endif
- };
-
- FunctionSet ExampleFSet
- {
- id = kExampleFunctionSet;
- //
- // We could use the following export line, but we want all exported
- // functions from the library to be exported, so we say nothing!
- //
- // exports = Hello, extern HelloC, pascal extern HelloPascal, Goodbye,
- // pascal GoodbyePascal, TExampleClass::Test;
- };
-